package server.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import server.business.pojo.Allbusiness;

@Mapper
public interface AllBusinessMapper extends BaseMapper<Allbusiness> {

    @Select("select * from t_allbusiness where startposition = #{doctorid}")
    public IPage<Allbusiness> getWhoCanCreate(Page<Allbusiness> page, String doctorid);

}
